package com.shengsheng.expschedule.service.ucenter.entity.Vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author yuan
 * @date 2021/11/04
 */
@Data
@ApiModel("权限嵌套对象")
public class RightVo implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "权限 id")
    private String id;

    @ApiModelProperty(value = "权限名称")
    private String rightName;

    @ApiModelProperty(value = "权限路径")
    private String rightPath;

    @ApiModelProperty(value = "权限图标")
    private String rightIcon;

    @ApiModelProperty(value = "子权限")
    private List<RightVo> children = new ArrayList<>();
}
